﻿




using Hotpot.Infrastructure;

namespace Hotpot.Modules.Bing.Services
{
    public static class SearchProvider
    {
        public static SearchResults Search(bingSearchCriteria criteria, PagingInfo pagingInfo, string apiKey)
        {
            Communication c = new Communication(apiKey);

            return c.DoQuery(criteria, pagingInfo.Size, pagingInfo.Index);
        }
    }
}
